<div class="isPc">
    <table class="table table-bordered table-striped">
        <thead>
            <tr>
                <th><span>{{ i18n "download_name" }}</span></th>
                <th><span>{{ i18n "download_version" }}</span></th>
                <th><span>{{ i18n "download_system" }}</span></th>
                <th><span>{{ i18n "download_sha" }}</span></th>
                <th><span>{{ i18n "download_operating" }}</span></th>
            </tr>
        </thead>
        <tbody>
            {{ range where $.Page.Site.Pages "Type" "tools" }}
            {{ if .Params }}
            <tr>
                {{ if .Params.mergeName }}
                <td rowspan="{{ .Params.nameTotle }}">
                    <span>{{ .Params.name }}</span>
                </td>
                {{ end }}
                {{ if .Params.mergeVersion }}
                <td rowspan="{{ .Params.versionTotle }}">
                    <span>{{ .Params.version }}</span>
                </td>
                {{ end }}
                <td>
                    {{ .Params.operatingSystem }}
                </td>
                <td>
                    {{ .Params.sha }}
                </td>
                <td>
                    <a href="{{ .Params.downloadlink }}">{{ i18n "download_download" }}</a>
                </td>
            </tr>
            {{ end }}
            {{ end }}
        </tbody>
    </table>
</div>

<div class="isH5">
    <div class="tools_table">
        <div class="active">SDR</div>
        <div>DS</div>
        <div>DM</div>
    </div>

    <div class="tools_content">
        <div>
            <ul>
                {{ range where $.Page.Site.Pages "Type" "tools" }}
                {{ if eq .Params.name "SDR" }}
                <li class="download_list">
                    <p><a href="{{ .Params.downloadlink }}">{{ i18n "download_download" }}{{ .Params.version }}{{ i18n "download_version" }} - {{ .Params.operatingSystem }}</a></p>
                    <div class="download_content">
                        <span>sha</span>
                        <div>
                            <p class="download_sha">{{ .Params.sha }}&nbsp;&nbsp;<span class="download_close">{{ i18n "download_close" }}</span></p>
                            <span class="download_more">{{ i18n "download_more" }}</span>
                        </div>
                    </div>
                </li>
                {{ end }}
                {{ end }}
            </ul>
        </div>
        <div class="table-hide">
            <ul>
                {{ range where $.Page.Site.Pages "Type" "tools" }}
                {{ if eq .Params.name "DS" }}
                <li class="download_list">
                    <p><a href="{{ .Params.downloadlink }}">{{ i18n "download_download" }}{{ .Params.version }}{{ i18n "download_version" }} - {{ .Params.operatingSystem }}</a></p>
                    <div class="download_content">
                        <span>sha</span>
                        <div>
                            <p class="download_sha">{{ .Params.sha }}&nbsp;&nbsp;<span class="download_close">{{ i18n "download_close" }}</span></p>
                            <span class="download_more">{{ i18n "download_more" }}</span>
                        </div>
                    </div>
                </li>
                {{ end }}
                {{ end }}
            </ul>
        </div>
        <div class="table-hide">
            <ul>
                {{ range where $.Page.Site.Pages "Type" "tools" }}
                {{ if eq .Params.name "DM" }}
                <li class="download_list">
                    <p><a href="{{ .Params.downloadlink }}">{{ i18n "download_download" }}{{ .Params.version }}{{ i18n "download_version" }} - {{ .Params.operatingSystem }}</a></p>
                    <div class="download_content">
                        <span>sha</span>
                        <div>
                            <p class="download_sha">{{ .Params.sha }}&nbsp;&nbsp;<span class="download_close">{{ i18n "download_close" }}</span></p>
                            <span class="download_more">{{ i18n "download_more" }}</span>
                        </div>
                    </div>
                </li>
                {{ end }}
                {{ end }}
            </ul>
        </div>        
    </div>
</div>